from collections.abc import Mapping, MutableMapping

a = {}
print(isinstance(a, MutableMapping))

